﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace DB_NH.DB_Map.gxjdWebSite
{
     using NHibernate;
    using NHibernate.Mapping.ByCode;
    using NHibernate.Mapping.ByCode.Conformist;
   public class Map_Information_Type: ClassMapping<DB_Model.gxjdWebSite.Information_Type>
    {
       public Map_Information_Type()
        {
            Id(x => x.type_id, map =>
            {
                map.Length(40);
            });

            Property(x => x.type_code, map =>
            {
                map.Length(200);
            });

            Property(x => x.type_name, map =>
            {
                map.Length(200);
            });

            Property(x => x.is_valid, map =>
            {
                map.Length(200);
            });

            Property(x => x.create_date, map =>
            {
             
            });

           

            Table("nr_type");
        }
    }
}